package com.example.springbootlocal.system.domain.vo;

/**
 * @author X.I.O
 * @title: PageVo
 * @projectName spring-boot-local
 * @description: TODO
 * @date 2021/11/11 15:28
 */
public class PageVo<T> {

    private Integer page=1;

    private Integer size=10;

    private String keyword;

    private Class<T> cls;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Class<T> getCls() {
        return cls;
    }

    public void setCls(Class<T> cls) {
        this.cls = cls;
    }

    public PageVo(Integer page, Integer size, String keyword) {
        this.page = page;
        this.size = size;
        this.keyword = keyword;
    }

    public PageVo() {
    }
}
